package org.example.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RequiredArgsConstructor
@RestController
@RequestMapping("/TestController")
@Api(value = "测试控制器", tags = "测试控制器")
public class TestController {

    @GetMapping("/test")
    @ApiOperation(value = "Mybatis 测试接口", notes = "测试接口")
    public String test(){
        return "test";
    }

}
